<div class="container-fluid">
    <div class="row-fluid">
        <div class="span3"><?php echo $this->partial('choix/menu.phtml') ?></div>
        <div class="span9">
            <div class="top-link">
                <a href="<?php echo $this->baseUrl('admin/category/add')?>/?num_vente=<?php echo $this->request()->getParam('num_vente') ?>">Ajout</a>
                | <a href="<?php echo $this->baseUrl('admin/category/prec') ?>/?num_vente=<?php echo $this->numVente?>">Catégories de ventes précédentes</a>
            </div>
            <div class="wrap">
                <div id="main-content">
                    <form action="<?php echo $this->baseUrl('admin/category/recover') ?>" method="post">
                        <input type="hidden" name="num_vente" value="<?php echo $this->numVente ?>" />
                        <table>
                        	<thead>
                        		<tr>
                        			<th align="center">Récupérer</th>
                                	<th>Catégorie</th>
                                    <th>TVA</th>
                        		</tr>
                        	</thead>
                            <tfoot>
                                <tr><td colspan="3" class="a-center"><input type="submit" class="btn btn-primary" value="Récupérer" /></td></tr>
                            </tfoot>
                        	<tbody>
                        	<?php foreach($this->rows as $row) :?>
                        		<tr>
                                    <td><input type="checkbox" name="torecover[]" value="<?php echo $row['nom'] ?>" /></td>
                        			<td><?php echo stripslashes($row['nom']); ?></td>
                                    <td><?php echo $row['tva']; ?></td>
                        	<?php endforeach;?>
                        	</tbody>
                        </table>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>